<?php
		$array = unserialize(file_get_contents("admin/data/retter/dagens/dagens.txt"));
		$billede = $array['billede'];
		$beskriv = $array["beskriv"];
		$navn = $array['navn'];
		

		$array = unserialize(file_get_contents("admin/data/retter/antal/antal.txt"));
		$total_antal = $array["totalantal"];
		$antal = $array["antal"];

?>
<section id="dagens">
         <div id="content">
                <h5>Dagens Ret:</h5>
                <div id="tape">
                	<img src="images/vfowler tape3.png" width="50" height="50" alt="tape">
                </div>
                <div id="image">
                	<div id="meter">
                    <p>Retter tilbage<p>
                        <progress value="<?php echo $antal?>" max="<?php echo $total_antal?>">
                        	
                        </progress>
           			 </div>
                <!--<img src="admin/<?php echo $billede; ?>">-->
                <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'"><img src="images/Lecoqdog-med-fritter-på-Haute-Friture-i-Aarhus.jpg"></a>
                <!--<img src="images/Lecoqdog-med-fritter-på-Haute-Friture-i-Aarhus.jpg">-->
                	<div id="image_title"><h3><?php echo $navn; ?></h3></div>
                </div>
            </div>
        <aside id="light" class="white_content">
        	<h2><?php echo $navn; ?>:</h2>
        	<p><?php echo $beskriv; ?></p>
            <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a>
        </aside>
        <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">
<div id="fade" class="black_overlay"></div></a>
		<aside id="no_light">
        	<h2><?php echo $navn; ?>:</h2>
        	<p><?php echo $beskriv; ?></p>
        </aside>
</section>